<?php
session_start();

include("EpiTwitter/EpiCurl.php");
include("EpiTwitter/EpiOAuth.php");
include("EpiTwitter/EpiTwitter.php");
include("Twitter/secret.php");
require("Twitter/post.php");

$name = $_POST["name"];
$contents = $_POST["contents"];


$post = "【挙手】【ABC】$name － $contents － 挙手への返答の仕方はこちらで。";


postToTwitter($post, $_SESSION['oauth_key'], $_SESSION['oauth_secret']);

echo $name . "." . $contents . "<br>";





?>